<?php
/**
 * User: fu
 * Date: 12-3-5
 * Time: 下午4:00
 */
?>
<form action="<?php echo Fun::curcul(); ?> " method="post" enctype="multipart/form-data" class="aform">
    <h2 class="formdesc">发布内容</h2>
    <?php echo $actinfo;?>
    <?php
    foreach ($publish->getallfiled($mid) as $filedval) {
        if(in_array($filedval['filed_type'],Filed::$filetypespec)){
            $fileddet=sprintf(Filed::$filetypedet[$filedval['filed_type']],
                $filedval['filed_name'],'',$filedval['filed_name']);
        }else{
            $fileddet=sprintf(Filed::$filetypedet[$filedval['filed_type']],$filedval['filed_name'],'');
        }

        printf('<div class="line"><label class="labe">%s</label>%s</div>',
            $filedval['filed_desc'],$fileddet);
    }


    ?>

    <div  class="line subline"><input class="sub" type="submit" value="发布"></div>
</form>
<script type="text/javascript" src="<?php echo ADMIN_TPL_SRC ?>/js/edit.js"></script>